# -*- coding: utf-8 -*-
from app.conf.settings import *


CHECKPOINT_REDIS_URL = f"redis://:{REDIS_PASSWORD}@{REDIS_HOST}:{REDIS_PORT}/0?encoding=utf-8"  # "redis://:redis123456@127.0.0.1:6378/0?encoding=utf-8"
CHECKPOINT_TTL = CNF_DATA['agent']['checkpoint_ttl']

BAIDU_SEARCH_API_KEY = CNF_DATA['agent']['search_key']


MODELS_TYPE_DICT: dict = {
    'deepseek-chat': {
        'apikey': CNF_DATA['agent']['model_api_key'],
        'api_base': CNF_DATA['agent']['api_base'],
        'model_provider': CNF_DATA['agent']['model_provider']
    }
}

